package com.brillilab.dao.mapper.user;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.brillilab.domain.po.user.Users;
import com.brillilab.domain.vo.lab.LabInfoVo;
import com.brillilab.domain.vo.user.UsersVo;

/**
 * 用户Mapper
 *
 * @author wmh
 */
public interface UsersMapper extends BaseMapper<Users> {
    int setLabIdNull(Long id);

    Users selectUser(@Param("labId")Long labId,@Param("labMemberId")Long labMemberId,@Param("state")Integer state);

    List<LabInfoVo> selectLabInfoVo(@Param("id") Long id,@Param("state") Integer state);

	List<UsersVo> selectUserList(@Param("labId")Long labId, @Param("labMemberIds")List<Long> labMemberIds, @Param("state") Integer state);
}
